package com.itwn.portal.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @TableName t_item
 */
@TableName(value ="t_item")
@Data
public class Item implements Serializable {
    private Long id;

    private Long bookId;

    private String bookName;

    private BigDecimal price;

    private Integer buyCount;

    private BigDecimal sumPrice;

    private Long orderId;

    private Date createTime;

    private Integer state;

    private static final long serialVersionUID = 1L;
}